package cn.gok.dao;

import cn.gok.pojo.Shipping;
import org.springframework.stereotype.Component;

import java.util.List;

public interface ShippingMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Shipping record);

    int insertSelective(Shipping record);

    Shipping selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Shipping record);

    int updateByPrimaryKey(Shipping record);

    List<Shipping> selectAllShipping();

    String queryReceiverNameByOrderNo(long OrderNo );

    List<Shipping> queryAllByOrderNo(long OrderNo);
}